package cn.iocoder.yudao.module.ride.controller.admin.training.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 司机培训课程分页 Request VO")
@Data
public class TrainingPageReqVO extends PageParam {

    @Schema(description = "关联 id", example = "20117")
    private Long driverId;

    @Schema(description = "驾驶员培训课程名称", example = "张三")
    private String courseName;

    @Schema(description = "培训课程日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] trainingDate;

    @Schema(description = "培训开始日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] startDate;

    @Schema(description = "培训结束日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] endDate;

    @Schema(description = "培训时长（分钟）")
    private Integer durationMinutes;

}